import greenfoot.*;  // (World, Actor, GreenfootImage, Greenfoot and MouseInfo)

/**
 * Write a description of class Nivel2 here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Nivel2 extends Nivel1
{
    /**
     * Act - do whatever the Nivel2 wants to do. This method is called whenever
     * the 'Act' or 'Run' button gets pressed in the environment.
     */
    public void act() 
    {
        a();
    }
    
      /**
     * Metodo que llama la imagen a mostrar y se modifica su tamaño
     * para adaptarlo al escenario
     */
    public Nivel2()
    {
        GreenfootImage ima= new GreenfootImage("Nivel2.png");
        ima.scale(ima.getWidth() -150,ima.getHeight() -150);
        setImage(ima);
    }
}
